﻿/*
    Write a program that finds the biggest of three numbers.
 */


using System;
class TheBiggestOf3Numbers
{
    static void Main()
    {

        double numberA;
        double numberB;
        double numberC;

        Console.WriteLine("Enter first number: ");
        numberA = double.Parse(Console.ReadLine());
        Console.WriteLine("Enter second number: ");
        numberB = double.Parse(Console.ReadLine());
        Console.WriteLine("Enter third number: ");
        numberC = double.Parse(Console.ReadLine());
        Console.WriteLine(new string('-', 10));

        if (numberA > numberB)
        {
            if (numberA > numberC)
            {
                Console.WriteLine("The bigger numbers is: " + numberA);
            }
            else
            {
                Console.WriteLine("The bigger numbers is: " + numberC);
            }
        }
        if (numberB > numberC)
        {
            Console.WriteLine("The bigger numbers is: " + numberB);
        }
        else
        {
            Console.WriteLine("The bigger numbers is: " + numberC);
        }

    }
}
